import java.util.ArrayList;
import java.util.Arrays;


public class test3 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ArrayList<String> arr = new ArrayList<String>();
		arr.add("String1");
		arr.add("String2");
		arr.add("String3");
		arr.add("String4");
		
		String arrStri = "";
		
		for(String stt : arr){
			arrStri += stt+"###";
		}
		
//		ArrayList<String> arr2 = new ArrayList<String>(Arrays.asList(arrStri));
		ArrayList<String> arr2 = new ArrayList<String>(Arrays.asList(arrStri.split("###")));
		System.out.println(arr2.get(1));
		System.out.println(arr2.toString());
		System.out.println(arr.toString());

	}

}
